<?php

namespace App\Models;

/**
 * App\Models\AdminRight
 * This is the model class for table "admin_right".
 *
 * @property int $id 自增ID
 * @property int $parent_id 父级id
 * @property string $api_route 接口路由
 * @property string $module 模块名称
 * @property string $name 权限名称
 * @property int $status 启用状态，0禁用，1启用
 * @property int $created_at 创建时间戳
 * @property int $updated_at 更新时间戳
 * @method static \Illuminate\Database\Eloquent\Builder|AdminRight newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|AdminRight newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|AdminRight query()
 */
class AdminRight extends BaseModel
{

    protected $table = "admin_right";
    protected $primaryKey = "id";
    protected $keyType = "int";
    public $timestamps = true;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [];
    

}
